package com.guodu.dao;

import java.util.List;

import com.guodu.entity.PurchasingInformationTwo;
import com.guodu.entity.PurchasinginfortwoStatus;
import com.guodu.entity.Units;
import com.guodu.vo.PurchasingInformationTwoQueryVo;
import com.guodu.vo.PurchasingInformationTwoVo;

public interface PurchasingInformationTwoDao {

	PurchasingInformationTwoVo findAllMoney(PurchasingInformationTwoQueryVo pbpq, Units units);
	
	long findSizeByVo(PurchasingInformationTwoQueryVo piq, Units units);

	public void examinAll(PurchasingInformationTwoQueryVo piq, Units units);
	
	void save(PurchasingInformationTwo purchasingInformationTwo);

	List<PurchasingInformationTwo> findByVo(PurchasingInformationTwoQueryVo piq,Units units, int curPage, int pageSize);

	PurchasingInformationTwo findById(String purchaseId);

	void update(PurchasingInformationTwo purchasingInformationTwo);

	List<PurchasinginfortwoStatus> findStatus(String purchaseId);

	void changeStatus(List<PurchasinginfortwoStatus> entities);

	void examine(String ids, Long status);

	void delByIds(String[] delIds);

	List<PurchasingInformationTwo> findAllByVo(
			PurchasingInformationTwoQueryVo pitq, Units attribute);

}
